package top.fzqblog.function

/**
 * Created by 抽离 on 2017/8/2 0002.
 */
class ClassFunctionTest {
    fun sayHello(){
        System.out.println("say：" + "hello")
    }
}



data class a(val c:String, val  b:Int){

}

fun main(args: Array<String>) {
    var kotlin = a("1", 2)

    val(name, age) = kotlin

    println("kotlin：" + kotlin)

    println("name：" + name)

    println("age：" + age)

}